﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dream
{
    class IronNpc : NPC
    {
        private string press;

        public string Press { get => press; set => press = value; }


        public IronNpc(string name,NPCType type,string press):base(name,type) 
        {
            this.press = press;
        }

        public override void Speak()
        {
            Console.WriteLine("NPC:{0},铁匠：我是一个打造武器的铁匠，从我手中出去神兵利器，不计其数，最出名的一把是{1},你是慕名而来的吗，小老二，不轻易为人打造武器，除非.........", this.Name,this.press);
        }
        public override void Speak1() 
        {
            Console.WriteLine("NPC:{0},铁匠：你的剑怎么断了，用不用修补一下，我可是天下第一{1}", this.Name,this.press);
        }

        public override void Speak2()
        {
            Console.WriteLine("NPC:{0},铁匠：你的这把剑需要使用天外陨石{1}", this.Name, this.press);
        }
    }
}
